import request from '@/utils/request'

// 查询合伙人转增记录列表
export function listDSubgiftRecord(query) {
  return request({
    url: '/video/DSubgiftRecord/list',
    method: 'get',
    params: query
  })
}

// 查询合伙人转增记录详细
export function getDSubgiftRecord(id) {
  return request({
    url: '/video/DSubgiftRecord/' + id,
    method: 'get'
  })
}

// 新增合伙人转增记录
export function addDSubgiftRecord(data) {
  return request({
    url: '/video/DSubgiftRecord',
    method: 'post',
    data: data
  })
}

// 修改合伙人转增记录
export function updateDSubgiftRecord(data) {
  return request({
    url: '/video/DSubgiftRecord',
    method: 'put',
    data: data
  })
}

// 删除合伙人转增记录
export function delDSubgiftRecord(id) {
  return request({
    url: '/video/DSubgiftRecord/' + id,
    method: 'delete'
  })
}
